package com.story.service;

import java.util.List;

import com.story.domain.Admin;
import com.story.domain.Page;

public interface IAdminService {
	void addAdmin(Admin admin);
	Admin findOneByUsername(String username);
	Boolean checkUsernameExisted(String username);
	Integer getTotal();
	List<Admin> findAdminsByLimit(Page page);
	Integer deleteOneById(String id);
	Integer deleteSomeByIds(List<String> ids);
}
